package com.shenmazong.servershopuser.user.service;

import com.shenmazong.comm.utils.ResultResponse;
import com.shenmazong.comm.vo.AdminVO;
import com.shenmazong.servershopuser.user.entity.TbAdmin;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 管理员 服务类
 * </p>
 *
 * @author 军哥
 * @since 2021-07-15
 */
public interface ITbAdminService extends IService<TbAdmin> {

    ResultResponse add(AdminVO admin);

    ResultResponse set(AdminVO admin);

    ResultResponse del(AdminVO admin);

    ResultResponse listByPage(Integer from, Integer size);

    ResultResponse login(AdminVO admin);
}
